import { axios } from '@/utils/request'

/**
 * 查询甄选文件主表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenPage (parameter) {
  return axios({
    url: '/screen/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 甄选文件主表列表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenList (parameter) {
  return axios({
    url: '/screen/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加甄选文件主表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenAdd (parameter) {
  return axios({
    url: '/screen/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑甄选文件主表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenEdit (parameter) {
  return axios({
    url: '/screen/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除甄选文件主表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenDelete (parameter) {
  return axios({
    url: '/screen/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出甄选文件主表
 *
 * @author blueberry
 * @date 2021-12-05 16:32:55
 */
export function screenExport (parameter) {
  return axios({
    url: '/screen/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
